<?php if(!$sessionAddress):?>
<li id=<?php echo 'item-'.$ua['UserAddress']['id']?>>
	<p>
		<?php
        	echo $ua['UserAddress']['receiver'];
            echo '　'.sex($ua['UserAddress']['sex']);
            echo '　'.$ua['SysProvince']['name'];
            echo '　'.$ua['SysCity']['name'];
            echo '　'.$ua['UserAddress']['address'];
		?>
    </p>
	<span>
    	<a href="javascript:;" onclick = 'ad.del(<?php echo $ua['UserAddress']['id'] ?>)'>删除</a>
	</span>
</li>
<?php else:?>
<li id=<?php echo 'item-'.$ua['UserAddress']['id']?>>
	<label>
    <?php echo $this->Form->input('address_id',array('type'=>'radio','name'=>'data[UserOrder][address_id]','options'=>array($ua['UserAddress']['id']=>''),'label'=>false,'div'=>false,'hiddenField'=>false))?>
	<?php
        echo $ua['UserAddress']['receiver'];
        echo '　'.sex($ua['UserAddress']['sex']);
        echo '　'.$ua['SysProvince']['name'];
        echo '　'.$ua['SysCity']['name'];
    	echo '　'.$ua['UserAddress']['address'];
    ?>
    </label>
</li>
<?php endif;?>